﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BugNET.Entities
{
    public class Wiki
    {

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="Issue"/> class.
        /// </summary>
        public Wiki()
        {
            WikiPageId = 0;
            ProjectId = 0;
            WikiHTML = string.Empty;
            WikiText = string.Empty;
        }

        #endregion

        public int WikiId { get; set; }

        public int WikiPageId { get; set; }

        /// <summary>
        /// Gets the project id.
        /// </summary>
        /// <value>The project id.</value>
        public int ProjectId { get; set; }

        public string WikiHTML { get; set; }

        public string WikiPageName { get; set; }

        public string WikiText { get; set; }

        /// <summary>
        /// Gets the date created.
        /// </summary>
        /// <value>The date created.</value>
        public DateTime DateCreated { get; set; }

        /// <summary>
        /// Gets or sets the owner id.
        /// </summary>
        /// <value>The owner id.</value>
        public string UserCreated { get; set; }

        public int SortOrder { get; set; }

    }
}
